package com.blb.exam.common.entity;


import com.blb.exam.common.util.DBField;

public class Quetion {

  private long id;
  private String content;
  @DBField(fieldName = "option_a")
  private String optionA;
  @DBField(fieldName = "option_b")
  private String optionB;
  @DBField(fieldName = "option_c")
  private String optionC;
  @DBField(fieldName = "option_d")
  private String optionD;
  private String answer;
  private long difficulty;
  @DBField(fieldName = "quetion_set_id")
  private int quetionSetId;

  private String image;

  @DBField(fieldName = "title")
  private String quetionSetName;

  public String getQuetionSetName() {
    return quetionSetName;
  }

  public void setQuetionSetName(String quetionSetName) {
    this.quetionSetName = quetionSetName;
  }

  public String getImage() {
    return image;
  }

  public void setImage(String image) {
    this.image = image;
  }

  public int getQuetionSetId() {
    return quetionSetId;
  }

  public void setQuetionSetId(int quetionSetId) {
    this.quetionSetId = quetionSetId;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }


  public String getOptionA() {
    return optionA;
  }

  public void setOptionA(String optionA) {
    this.optionA = optionA;
  }


  public String getOptionB() {
    return optionB;
  }

  public void setOptionB(String optionB) {
    this.optionB = optionB;
  }


  public String getOptionC() {
    return optionC;
  }

  public void setOptionC(String optionC) {
    this.optionC = optionC;
  }


  public String getOptionD() {
    return optionD;
  }

  public void setOptionD(String optionD) {
    this.optionD = optionD;
  }


  public String getAnswer() {
    return answer;
  }

  public void setAnswer(String answer) {
    this.answer = answer;
  }

  public long getDifficulty() {
    return difficulty;
  }

  public void setDifficulty(long difficulty) {
    this.difficulty = difficulty;
  }

  @Override
  public String toString() {
    return "Quetion{" +
            "id=" + id +
            ", content='" + content + '\'' +
            ", optionA='" + optionA + '\'' +
            ", optionB='" + optionB + '\'' +
            ", optionC='" + optionC + '\'' +
            ", optionD='" + optionD + '\'' +
            ", answer='" + answer + '\'' +
            ", diffculty=" + difficulty +
            ", quetionSetId=" + quetionSetId +
            ", image='" + image + '\'' +
            '}';
  }
}
